<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/11/7
  Time: 15:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>Add</title>
</head>
<body>
<div>
    <div style="color:red">${errorMsg}</div>
    <form action="${pageContext.request.contextPath}/supplier/update2" method="post">
        <div>
            供货商编号:<input type="text" name="supCode" value="${supplier.supCode}"> <span style="color: red">${supCodeError}</span>
        </div>
        <div>
            供货商名称:<input type="text" name="supName" value="${supplier.supName}"> <span style="color: red">${supNameError}</span>
        </div>
        <div>
            供货商描述:<input type="text" name="supDesc" value="${supplier.supDesc}"> <span style="color: red">${supDescError}</span>
        </div>
        <div>
            供货商联系人:<input type="text" name="supContact" value="${supplier.supContact}">
        </div>
        <div>
            联系电话:<input type="text" name="supPhone" value="${supplier.supPhone}">
        </div>
        <div>
            供货商地址:<input type="text" name="supAddress" value="${supplier.supAddress}">
        </div>
        <div>
            <input type="submit">
        </div>
    </form>
</div>
</body>
</html>
